:root{
    --pop-up-color:#16A085;
}
#dialog-template{
    display: none;
}
.dialog-btn {
    display: inline-block;
    border: 0;
    box-sizing: border-box;
    background: #16A085;
    background: var(--pop-up-color);
    color: #fff;
    font-size: 1.5em;
    border-radius: .1em;
    line-height: 2em;
    padding: 0 1em;
    transition: .4s ease-out;
    border: 1px solid #16A085;
    outline: 0;
    text-decoration: none;
}
.dialog-btn:hover,
.dialog-btn:focus {
    background: #fff;
    color:#16A085;
    color: var(--pop-up-color);
    cursor: pointer;
    transition: .15s ease-in;
}
.dialog-btn-open {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.dialog {
    width: 500px;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 2000;
    visibility: hidden;
    backface-visibility: hidden;
    perspective: 1300px;
}
.dialog-active {
    visibility: visible;
}
.dialog-active .dialog-content {
    position: relative;
    opacity: 1;
    transform: rotateY(0);
}
.dialog-active ~ .dialog-overlay {
    opacity: 1;
    visibility: visible;
}
.dialog-content {
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: .5s ease-in-out;
    opacity: 0;
    transform-style: preserve-3d;
    transform: rotateY(-70deg);
}
.dialog-header {
    background: #16A085 ;
    background: var(--pop-up-color);
    color: #fff;
    padding: 5px;
}
.dialog-title {
    margin: 0;
    font-size: 18px;
    height: 60px;
    text-align: center;
    font-weight: 200;
    line-height: 2em;
}
.dialog-title>div{
    line-height: 30px;
}
.dialog-title>div:nth-child(2){
    font-size: 14px;
}
.dialog-body {
    padding: 10px;
    padding-top: 0;
}
.dialog-overlay {
    content: "";
    position: fixed;
    visibility: hidden;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    opacity: 0;
    background: rgba(0, 0, 0, 0.5);
    transition: all .6s;
}
.dialog-close {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    position: absolute;
    top: .5rem;
    right: .5rem;
    transition: .8s ease all;
    -moz-transition: .8s ease all;
    -webkit-transition: .8s ease all;
    border: none;
    border-radius: 3px;
    color: #333;
    text-decoration: none;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
.dialog-close:hover {
    transition: .8s ease all;
    -moz-transition: .8s ease all;
    -webkit-transition: .8s ease all;
}
.dialog-close .dialog-iconfont {
    font-size: 2rem;
    color: #fff;
}
.dialog-rotate {
    cursor: pointer;
}
.dialog-rotate:hover {
    transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    transition: transform 1.0s ease all;
    -moz-transition: -moz-transform 1.0s ease all;
    -webkit-transition: -webkit-transform 1.0s ease all;
}
.dialog-body-head{
    display: flex;
    height: 40px;
}
.dialog-body-head>div:nth-child(1),.dialog-body-head>div:nth-child(3){
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    border-bottom: 3px solid #DFDFDF;
    color :rgba(128, 128, 128, 0.71);
    margin:0 15px;
    cursor: pointer;
}
.dialog-body-head>div:nth-child(2){
    height: 100%;
    border: 1px solid #16A085;
    border-image: -webkit-linear-gradient(#fff,#16A086,#fff) 1 1;
}
.dialog-body-head-choosed{
    color :#16A085 !important;
    border-bottom: 3px solid #16A085 !important;
}
.dialog-body-content{
    color: #16A085;
}
.dialog-body-content>ol{
    max-height: 214px;
    overflow: auto;
}
.dialog-body-content>ol>li{
    padding:8px 0;
    letter-spacing: 2px;
    list-style-type: decimal;
}
.dialog-body-content>div{
    display: flex;
    padding: 6px 10px;
    align-items: center;
}
.dialog-body-content input[type="checkbox"]{
    margin-right: 8px;
}
.dialog-body-content>div:first-child{
    padding-top: 12px;
}
.dialog-body-content>div:last-child{
    padding-bottom: 12px;
}
.dialog-confirm{
    width: 80px;
    line-height: 32px;
    text-align: center;
    font-size: 18px;
    background-color:#16A085;
    border-radius: 5px;
    color: #fff;
    cursor: pointer;
    margin: auto;
}